package mysql

import "gorm.io/gorm"

type Home struct {
	gorm.Model
	Title string  `gorm:"type:varchar(30);not null;comment: 标题"`
	Desc  string  `gorm:"type:varchar(255);not null;comment: 描述"`
	Price float64 `gorm:"type:decimal(10, 2);not null;comment: 价格"`
	Uid   int     `gorm:"type:int(10);not null;comment: 用户ID"`
}
